// * {
//   padding: 0;
//   margin: 0;
// }
body {
  background-color: #f5f5f5;
}

#app {
  width: 100%;
  .top {
    text-align: center;
    h1 {
      // color: #3d81ef;
      color: #000;
      font-weight: bold;
      font-size: 0.2rem;
      padding-top: 0.25rem;
    }
  }
  .bg {
    width: 95%;
    max-width: 5rem;
    min-width: 3.6rem;
    height: 6rem;
    box-sizing: border-box;
    // border: 1px solid #000;
    border-radius: 0.1rem;
    margin: 0.2rem auto 0;
    background-color: #fff;
    // overflow: hidden;
    position: relative;
    .msg-box {
      width: 100%;
      height: 4rem;
      box-sizing: border-box;
      padding: 0.08rem;
      display: flex;
      justify-content: center;
      align-items: center;
      .msg-main {
        width: 100%;
        height: 100%;
        // background-color: #ccc;
        box-sizing: border-box;
        padding: 0.04rem;
        overflow-y: auto;
        overflow-x: hidden;
        
        .msg {
          width: 100%;
          padding: 0.1rem 0;
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          font-size: 0.16rem;
          .msg-name {
            font-weight: bold;
            color: #3d81ef;
            max-width: 20%;
            box-sizing: border-box;
            padding: 0.1rem 0;
          }
          i {
            font-weight: bold;
            color: #3d81ef;
            box-sizing: border-box;
            padding: 0.1rem 0.04rem;
          }
          .msg-content {
            color: #666;
            word-break:break-all;
            max-width: 60%;
            border: 1px solid #eee;
            box-sizing: border-box;
            padding: 0.1rem;
            border-radius: 0.08rem;
          }
        }
        .msg.me {
          justify-content: flex-end;
          .msg-name {
            color: #009659;
          }
        }
      }
      .msg-main::-webkit-scrollbar { width: 0 !important }
      .msg-none {
        font-size: 0.14rem;
        color: #1e1e1e;
      }
    }
    .btn-box {
      width: 100%;
      height: 2rem;
      // background-color: #ccc;
      // border-top: 1px solid #ccc;
      box-sizing: border-box;
      padding: 0.08rem;
      .btn-menu {
        width: 100%;
        height: 0.6rem;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .user-input {
          width: 80%;
        }
      }
      .btn-main {
        width: 100%;
        height: 1.4rem;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
    .clients {
      width: 1rem;
      min-height: 1rem;
      max-height: 6rem;
      background-color: #fff;
      box-sizing: border-box;
      border-radius: 0.1rem;
      border: 1px solid #fff;
      position: absolute;
      top: 0;
      left: 0;
      transform: translateX(-1.1rem);
      z-index: 2;
      color: #4d90fe;
      display: flex;
      flex-direction: column;
      .c-title {
        font-size: 0.16rem;
        font-weight: bold;
        text-align: center;
        padding: 0.1rem 0;
      }
      .c-ul {
        width: 100%;
        flex: 1;
        .c-li {
          width: 100%;
          padding: 0.05rem 0;
          color: #666;
          text-align: center;
        }
      }
    }
  }
}
